import request from '@/utils/request'

export function getListPage(query) {
  return request({
    url: '/repair/jcwDefectInfo/',
    method: 'GET',
    params: query
  })
}

export function updateData(query) {
  // return request({
  //   url: '/repair/jcwDefectInfo/',
  //   method: 'POST',
  //   data: query
  // })
}

export function deleteData(query) {
  // return request({
  //   url: `/problem/jcwDefectInfo/${query}`,
  //   method: 'DELETE'
  // })
}
